package com.example.demo.service;


import com.example.demo.entity.Instrument;
import com.example.demo.entity.Notation;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface NotationService {





    //分页查询
    //pageNum:当前是第几页    pageSize：每一页多少条数据
    PageInfo<Notation> findNotationPage(Integer pageNum, Integer pageSize);

    //查找所有
    List<Notation> findNotationAll();

    //id查询
    Notation findNotationById(Integer id);

    //插入
    Integer insertNotation(Notation notation);

    //更新
    Integer updateNotation(Notation notation);

    //删除
    Integer deleteNotation(Integer notation_id);


    List<Notation> getHotNotations();


}